home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / MATH / MFLOAT10.ZIP / READ.ME < prev   
Text File  |  1993-04-28  |  7KB  |  169 lines

  1.                              MFLOAT Version 1.00
  2.  
  3.                                    for
  4.  
  5.                               BORLAND C++ 3.1
  6.                               TURBO PASCAL 6.0
  7.                               BORLAND PASCAL 7.0
  8.  
  9.  
  10. A brief description of "MFLOAT":
  11.  
  12. * "MFLOAT" handles arithmetic using high precision numbers of up to 72 decimal
  13.   digits.
  14.   
  15. * "MFLOAT" is optimized for maximum speed for high precision numbers.
  16.   These subroutines are the fastest for the 8086 microprocessor known to us.
  17.   If you find faster subroutines for a 8086, please send me a mail.
  18.  
  19. * "MFLOAT" subroutines are much faster than a standard emulation of a 
  20.   coprocessor for the same accuracy. "MFLOAT" does not use the coprocessor.
  21.  
  22. * "MFLOAT" is written in assembler for the 8086 microprocessor and
  23.   compatibles. The calculation is 10 to 20 times faster than that of
  24.   subroutines written in C or PASCAL. This is important for tedious
  25.   calculations like an optimization, where you have problems with the
  26.   accuracy. For this problems you can avoid the use of a super computer
  27.   which you feed with a C or PASCAL program for high precision numbers.
  28.  
  29. * All important functions of PASCAL and of a C library ("MATH.H") are
  30.   included. This includes the transcedental functions like sin(x), atan(x),
  31.   exp(x), log(x)....
  32.  
  33. * Programs written in C or C++, can use MFLOAT simply by replacing the 
  34.   double data format with the "MFLOAT" data format. The operators and the 
  35.   functions are overloaded for C++ and so only little changes of the source 
  36.   code are necessary. (You need BORLAND C 3.1).
  37.  
  38. * The subroutines are included in compiled form (object files) in a program.
  39.   Therfore you can use them for PASCAL, C and C++. The subroutines are
  40.   tested for BORLAND PASCAL 7.0, TURBO PASCAL 6.0 and BORLAND C 3.1.
  41.  
  42. * This package is limited to about 72 decimal digits. You may license the
  43.   source code. Then you can extend the precision for the algebraic 
  44.   calculations up to 10000 decimal digits (upper limit is due to the memory 
  45.   limit of one segment of the 8086) and for transcendental function up to 500 
  46.   digits.
  47.  
  48. * The internal data format is a binary floating point format. The length of 
  49.   the mantissa can be choosen by the user from one word to 15 words.
  50.   (1 word = 16 bits). This correspondeds to about 5, 10, 14, 19, 24,
  51.   29, 34, 39, 43, 48, 53, 58, 63, 67 and 72 digits of a decimal number.
  52.   1 word represents 4.81648 digits of a decimal number in average.
  53.   The exponent of two has the length of 16 bits. The largest representable
  54.   number is about 7.07E+9863, the smallest is about 7.07E-9865.
  55.  
  56. You can find a detailed description in the file "MFLOAT.DOC".
  57.  
  58. ***************************************************************************
  59.  
  60. The package includes following files:
  61.   READ.ME      - general information
  62.   MFLOAT.DOC   - describtion of the subroutines and mfloat numbers
  63.   MFLOATA.OBJ  - subroutines written in assembler
  64.   MFLOATB.OBJ  - subroutines written in C
  65.   MFLOAT.H     - header file for C
  66.   MFLOAT.CXX   - file for C++ : overloading functions and operators
  67.   PFLOAT.PAS   - unit: declarations of the external subroutines
  68.   PI.PAS       - example in PASCAL, calculation of pi
  69.   BESSEL.PAS   - example in PASCAL, calculation of the bessel function
  70.   POLAR.PAS    - example in PASCAL, conversion cartesian to polar coordinates
  71.   PI.C         - example in C, calculation of pi
  72.   BESSEL.C     - example in C, calculation of the bessel function
  73.   POLAR.C      - example in C, conversion cartesian to polar coordinates
  74.   PI.CPP       - example in C++, calculation of pi
  75.   BESSEL.CPP   - example in C++, calculation of the bessel function
  76.   POLAR.CPP    - example in C++, conversion cartesian to polar coordinates
  77.   PI.EXE       - example program executable
  78.  
  79. The source code option includes further files:
  80.   MFLOATA.ASM  - source code in assembler (basic subroutines)
  81.   MFLOATB.C    - source code in C (transcendental functions and extensions)
  82.   MFLOATC.ASM  - constants (include file of "MFLOATA.ASM")
  83.   CALCCON.PAS  - calculation of constants in "MFLOATC.ASM" in PASCAL source
  84.   CALCCON.EXE  - calculation of constants in "MFLOATC.ASM"
  85.  
  86. Registration:
  87.  
  88. MFLOAT is not a free subroutine package, but is being distributed under
  89. the shareware concept. This allows you to evaluate the subroutines package
  90. to determine whether it is worth anything, and then buy it if you are going
  91. to use it. You must register the package MFLOAT if you are going to use it.
  92.  
  93. If you use MFLOAT after a reasonable evaluation period of two weeks,
  94. register the subroutines.
  95.  
  96. Registration costs $20 US. To register, simply remit the money to the bank
  97. accout (see address below) or send me a money order for $20 US at the
  98. address below.
  99.  
  100. If you are more interested in the subroutines, source code is also available.
  101. Registration costs $200 US for the source code. Please send me a letter and
  102. remit the money to the bank accout (see address below) or send me a money
  103. order for $200 US at the address below and the source code of MFLOAT will be
  104. sent to you.
  105.  
  106. Other currencies:
  107. currency          registration      source code
  108. US dollar              20.--           200.--
  109. German DM              30.--           300.--
  110. Austrian S            210.--          2100.--
  111.  
  112. The authors of MFLOAT are interested in a feedback from the users of "MFLOAT".
  113. If you have problems or you find some bugs (the subroutines are checked very
  114. often, but the probability, that a software of large dimension has no bug
  115. is not large in reality), please describe them and send us a mail per
  116. internet. You help us to remove this errors of the subroutines.
  117.  
  118. Many thanks for your help and much success with "MFLOAT".
  119.  
  120.  
  121. Kaufmann Friedrich & Mueller Walter
  122. Students at the Technical University of Graz
  123.  
  124.  
  125.  
  126. Registration address:
  127.  
  128. Kaufmann Friedrich
  129. Schuetzenhofgasse 22
  130. A-8010 GRAZ
  131. AUSTRIA
  132. EUROPE
  133.  
  134. Bank account:
  135. CA - CREDITANSTALT
  136. Herrengasse
  137. A-8010 Graz
  138. BLZ.: 11870
  139. Nr. : 1087-03687/00
  140. name: Kaufmann Friedrich
  141.  
  142. email address:
  143. fkauf@fstgds06.tu-graz.ac.at
  144.  
  145.  
  146. ****************************************************************************
  147.  
  148. Legal stuff
  149.  
  150. "MFLOAT" is a copyrighted subroutine package. They may not be changed or
  151. modified in any way except by the authors. "MFLOAT" may be freely distributed
  152. so long as all files are included and no money is charged. A small copying
  153. fee not exceeding $10 US may be charged.
  154.  
  155. All warranties are disclaimed, including damage to hardware and/or software
  156. from use of this program. In no event will we be liable to you for any damages,
  157. including lost profits, lost savings or other incidental or consequential
  158. damages arising out of your use or inability to use the program, or any other
  159. claim by any other party. In any event, the extent of our liability is limited
  160. to amount of money received by us from you.
  161.  
  162. Every effort has been made to ensure that MFLOAT is as clean and free of
  163. bugs as possible. However, no program can ever be guaranteed to be free of
  164. all defects.
  165.  
  166. ****************************************************************************
  167.  
  168. TURBO PASCAL is a trademark of Borland Corporation.
  169.